import request from '@/utils/system/request'

// 新增标签
export function addByUser(data: object) {
	return request({
		url: '/article/tag/user',
		method: 'post',
		data
	})
}

// 修改我的标签
export function editByUser(data: object) {
	return request({
		url: '/article/tag/user',
		method: 'put',
		data
	})
}

// 获取我的标签列表
export function listByUser(data: object) {
	return request({
		url: '/article/tag/userlist',
		method: 'post',
		data
	})
}

// 删除我的标签
export function del(data: object) {
	return request({
		url: '/article/tag/user',
		method: 'delete',
		data
	})
}
